package pers.feng1240.blog.entities;

import java.util.List;

/*
 * 标签实体类
 */
public class Tag {

	private int id;
	private String tagName;
	private String tagDisc;
	private List<Blog> blogs;
	
	
	public List<Blog> getBlogs() {
		return blogs;
	}
	public void setBlogs(List<Blog> blogs) {
		this.blogs = blogs;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTagName() {
		return tagName;
	}
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	public String getTagDisc() {
		return tagDisc;
	}
	public void setTagDisc(String tagDisc) {
		this.tagDisc = tagDisc;
	}
	@Override
	public String toString() {
		return "Tag [id=" + id + ", tagName=" + tagName + ", tagDisc=" + tagDisc + ", blogs=" + blogs + "]";
	}
	
	
}
